using System.Threading.Tasks;
using K9Nano.AspNetCore.Startup;
using Microsoft.Extensions.Hosting;

namespace K9Workflow.Host
{
    public class Program
    {
        public static async Task Main(string[] args)
        {
            await DefaultHostBuilder.RunAsync(CreateHostBuilder(args));
        }

        public static IHostBuilder CreateHostBuilder(string[] args)
            => DefaultHostBuilder.CreateHostBuilder<Startup>(args);
    }
}
